package org.zjj.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration//定义Spring配置
@ComponentScan({"org.zjj.dao","org.zjj.service"})//定义要扫描的文件
@PropertySource(value = "{name.properties}",encoding = "utf-8")//获取数据
public class SpringConfig {
}
